﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Student
    {
        public int age;
        public string name;
        public string interest;

        public int Age { get; set; }
        public string Name { get; set; }
        public string Hobby { get; set; }

        public void personal()
        {
            Console.WriteLine("你的年龄：{0} 你的姓名：{1} 你的爱好：{2}",age,name,interest);
        }
        ~Student()
        {
            Console.WriteLine("皮皮虾，我们走");
        }
    }
}
